// $Id: Variable.java 36 2011-09-23 18:16:31Z huijzer@gmail.com $
package lime.model;

import java.util.ArrayList;
import java.util.List;

public class Variable implements Comparable<Variable> {

	private String name;
	private List<String> values;
	
	public Variable(String name) {
		this.name = name;
		this.values = new ArrayList<String>();
	}
	
	public String getName() {
		return name;
	}
	
	public List<String> getValues() {
		return values;
	}
	
	public void addValue(String value) {
		values.add(value);
	}

	@Override
	public int compareTo(Variable obj) {
		return this.getName().compareTo(obj.getName());
	}
}
